package com.adtec.base.cloud.baseservice.rbac.feign;

import com.adtec.base.cloud.commons.exception.AjaxResponse;
import com.adtec.base.cloud.commons.exception.CustomExceptionType;
import org.springframework.stereotype.Component;

@Component
public class SmsServiceFallback implements SmsService {

    @Override
    public AjaxResponse send(String phoneNo, String content) {
        return AjaxResponse.error(CustomExceptionType.SYSTEM_ERROR
                , "短信发送接口失败!");
    }
}